package priv.wangy.micro.common.exception;


import priv.wangy.micro.common.po.http.rspn.code.SysErrorEnum;

/**
 * 异常：未获取到分布式锁
 * 数据被其他线程/服务占用
 *
 * @author zhangjq
 * @since 2023-10-24
 */
public class DnLockNotObtainedException extends ServiceException {

    public DnLockNotObtainedException() {
        super("请稍后再试", SysErrorEnum.DN_LOCK_NOT_OBTAINED);
    }

    public DnLockNotObtainedException(String message) {
        super(message, SysErrorEnum.DN_LOCK_NOT_OBTAINED);
    }
}
